package com.ruoyi.project.wechatprogram.moneyoperatelog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 员工金额变动记录对象 wx_money_operate_log
 * 
 * @author xinchen
 * @date 2020-05-21
 */
public class WxMoneyOperateLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 用户表id */
    @Excel(name = "用户表id")
    private Integer userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String iphone;

    /** 身份证 */
    @Excel(name = "身份证")
    private String card;

    /** 员工号 */
    @Excel(name = "员工号")
    private String number;

    /** 改变状态，0增加，1减少 */
    @Excel(name = "改变状态，0增加，1减少")
    private Integer type;

    /** 余额变动 */
    @Excel(name = "余额变动")
    private Integer balanceChange;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private Integer balance;

    /** 变动详情 */
    @Excel(name = "变动详情")
    private String description;

    /** 站点id */
    @Excel(name = "站点id")
    private Integer webId;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer del;

    private String change;

    public String getChange() {
        return change;
    }

    public void setChange(String change) {
        this.change = change;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIphone(String iphone) 
    {
        this.iphone = iphone;
    }

    public String getIphone() 
    {
        return iphone;
    }
    public void setCard(String card) 
    {
        this.card = card;
    }

    public String getCard() 
    {
        return card;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setBalanceChange(Integer balanceChange) 
    {
        this.balanceChange = balanceChange;
    }

    public Integer getBalanceChange() 
    {
        return balanceChange;
    }
    public void setBalance(Integer balance) 
    {
        this.balance = balance;
    }

    public Integer getBalance() 
    {
        return balance;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setWebId(Integer webId) 
    {
        this.webId = webId;
    }

    public Integer getWebId() 
    {
        return webId;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("iphone", getIphone())
            .append("card", getCard())
            .append("number", getNumber())
            .append("type", getType())
            .append("balanceChange", getBalanceChange())
            .append("balance", getBalance())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("webId", getWebId())
            .append("del", getDel())
            .toString();
    }
}
